<template>
  <div class="container">
    <!--上半部图片-->
    <div class="partnerImg">
      <el-image
        style="width: 360px; height: 180px"
        :src="imgUrl"
        fit="cover"
      ></el-image>
    </div>
    <!--下半部奖项-->
    <div class="partnerDesc">
      <div class="logoImg">
        <el-image :src="logoUrl" fit="cover"></el-image>
      </div>
      <div>
        <h4>{{ desc1 }}</h4>
        <h4>{{ desc2 }}</h4>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "StaticCard",
  components: {},
  props: {
    imgUrl: {
      type: String,
      default: require("../assets/images/partner/pic-12_1617460086231.png"),
    },
    logoUrl: {
      type: String,
      default: require("../assets/images/partner/pic-15_1617460079455.png"),
    },
    desc1: {
      type: String,
      default: "绿色智慧物流管理系统",
    },
    desc2: {
      type: String,
      default: "助力成功实现造船出海",
    },
  },
};
</script>

<style lang="scss" scoped>
.container {
  width: 360px;
  margin-top: 40px;
  box-shadow: #666 0 0 0.2rem;
  transition: all 0.2s ease-in;
  &:hover{
    transform: scale(1.05);
  }
  .partnerDesc {
    height: 180px;
    padding-top: 5px;

    .logoImg {
      height: 60px;
      margin: 20px 100px;
    }
    h4 {
      margin-top: 10px;
      text-align: center;
      font-size: 14px;
      color: #666666;
      font-weight: normal;
    }
  }
}
</style>
